package cn.gok.tech.baiduocr.controller;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
public class HelloController {


    @RequestMapping("hello")
    public String testHello(){
        return "Hello world";
    }

    //跳转到layui文件上传页面
    @RequestMapping("/tolayui")
     public String ptestHello() {
          return "layuiUpload";
     }
}
